package service;

import entity.FollowUp;
import mapper.FollowUpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class FollowUpServiceImpl implements FollowUpService{
    @Autowired
    public FollowUpMapper followUpMapper;
    @Override
    public boolean insert(FollowUp followUp) {
        return followUpMapper.insert(followUp)>0?true:false;
    }

    @Override
    public List<FollowUp> selectAll() {
        return followUpMapper.selectAll();
    }
}
